package br.net.woodstock.tickettoride.api.struts2.manager.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.net.woodstock.tickettoride.api.core.SimpleQueryableRepository;
import br.net.woodstock.tickettoride.api.core.SimpleRepository;
import br.net.woodstock.tickettoride.api.manager.CertificateService;
import br.net.woodstock.tickettoride.api.manager.common.AbstractSessionService;

@Service
public class SessionServiceImpl extends AbstractSessionService {

	private static final long			serialVersionUID	= 7457780754722961332L;

	@Autowired(required = true)
	private SimpleRepository			simpleRepository;

	@Autowired(required = true)
	private SimpleQueryableRepository	queryableRepository;

	@Autowired(required = true)
	private CertificateService			certificateService;

	@Override
	public CertificateService getCertificateService() {
		return this.certificateService;
	}

	@Override
	public SimpleRepository getSimpleRepository() {
		return this.simpleRepository;
	}

	@Override
	public SimpleQueryableRepository getSimpleQueryableRepository() {
		return this.queryableRepository;
	}

}
